package org.example.创建型模式.抽象工厂模式.基层.Redis双集群升级_抽象工厂;

import java.util.concurrent.TimeUnit;

/**
 * TODO
 *
 * @author: hmxchen
 * @date : 2022/4/13 10:11
*/
public interface CacheService {

    String get(final String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);

}
